package cn.cqie.attendance.common.service;

import cn.cqie.attendance.common.pojo.Student;
import cn.cqie.attendance.common.pojo.Teacher;
import cn.cqie.attendance.common.pojo.User;
import com.baomidou.mybatisplus.extension.service.IService;

public interface LoginService extends IService<User> {

    Teacher queryTeacher(String username);

    Student queryStudent(String username);

    int loginOnce(int id, String role);

    int changePassword(int id, String password, String role);
}
